package com.cn.medicalcare.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class News {
    private int id;
    private int category_id;
    private String category_name;
    private String title;
    private String summary;
    private String newsdate;
    private int survival;
    private int istop;
    @JsonIgnore
    private Date istopupdatetime;
}
